<template>
	<view class="center">
		<!-- <view class="tit"></view>
		<view class="title">
			<image src="../../../../static/images/arrow_left.png" mode="widthFix" @click="back"></image>
			<text>计划管理</text>
			<view class="ima">
				<image src="../../../../static/images/tb_icon.png" mode="widthFix" @click="adds"></image>
			</view>
		</view> -->
		<hea-ders title="新增签到">
			<image class="left" slot='left' src="@/static/images/arrow_left.png" mode="widthFix" @click="back"></image>
			<image  slot='Rright' src="../../../../static/images/tb_icon.png" mode="widthFix" @click="adds"></image>
		</hea-ders>
		<view class="content">
			<zzx-calendar @selected-change="datechange"></zzx-calendar>
		</view>
		<view class="tel">
			<text>18712341234</text>
			<view class="ris" @click="qus">
				<text>5</text>
				<image src="../../../../static/images/arrow_right.png" mode="widthFix"></image>
			</view>
		</view>
	</view>
</template>

<script>
	import zzxCalendar from "@/components/zzx-calendar/zzx-calendar.vue"
	import heaDers from '@/pages/header/header.vue'
	export default {
		components: {
			zzxCalendar,
			heaDers
		},
		data() {
			return {

			}
		},
		methods: {
			back() {
				uni.navigateBack({
					delta: 1
				})
			},
			datechange(e) {
				console.log(e);
			},
			qus(){
				uni.navigateTo({
					url:'../visit'
				})
			},
			adds(){
				uni.navigateTo({
					url:'../addsamim/addsamim'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.center {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		background: rgba(245, 245, 245, 1);
		.tit {
			width: 100%;
			height: 40rpx;
			box-sizing: border-box;
		}
		.title {
			width: 100%;
			height: 88rpx;
			padding: 0 30rpx;
			box-sizing: border-box;
			background-color: rgba(36, 153, 246, 1);
			display: flex;
			justify-content: space-between;
			align-items: center;

			image {

				width: 22rpx;
			}

			text {
				font-size: 36rpx;
				color: #fff;
				font-weight: 400;
				font-family: PingFang SC;
			}

			.ima {
				image {
					width: 40rpx;
					margin-left: 5rpx;
				}
			}
		}

		.tel {
			margin-top: 20rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 30rpx;
			width: 100%;
			height: 88rpx;
			box-sizing: border-box;
			border-top:  1rpx solid #e0e0e0;
			border-bottom:  1rpx solid #e0e0e0;
			text {
				font-size:32rpx;
				font-family:PingFang SC;
				font-weight:500;
				line-height:45rpx;
				color:rgba(33,33,33,1);
				opacity:1;
			}
			.ris {
				text {
				font-size:40rpx;
				font-family:PingFang SC;
				font-weight:500;
				line-height:40rpx;
				color:rgba(158,158,158,1);
				opacity:1;	
				}
			image {
				width: 18rpx;
				margin-left: 15rpx;
			}
			}
		}
	}
</style>
